Elementor\Modules\History\Revisions_Manager S

Total Complexity 43
Dependencies 5
Dependents 1
Total lines 395
Lines of code 199
Logical lines of code 99
Comment lines 131
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
get_revisions()
A
39 11 64
restore_revision()
S
59 4 15
on_ajax_save_builder_data()
S
52 2 28
avoid_delete_auto_save()
S
68 3 7
remove_temp_post_content()
S
66 3 8
register_actions()
S
58 2 14
current_revision_id()
S
67 2 8
document_config()
S
68 2 7
db_before_save()
S
75 2 5
add_revision_support_for_all_post_types()
S
70 2 6
ajax_get_revision_data()
S
63 2 10
save_revision()
S
71 2 6
handle_revision()
S
79 1 3
editor_settings()
S
75 1 4
ajax_get_revisions()
S
75 1 4
register_ajax_actions()
S
74 1 4
update_autosave()
S
79 1 3
__construct()
S
81 1 3